package com.bjpowernode.ba02;

import org.springframework.stereotype.Component;

@Component("service")
public class SomeServiceImpl implements SomeService {
    @Override
    public void doSome(String name, Integer age) {
        System.out.println("执行了doSome");
    }

    @Override
    public String doOther(String name, Integer age) {
        System.out.println("执行了doOther");
        return "abdc";
    }
}
